package hyskidotmateuszatgmail.recepcja.fragments;



/*import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.example.e_recepcja_owner.R;

import model.Lokalizacje;
import model.Pokoj;
import model.Rezerwacje;
import model.WSP;
import model.Wyposarzenie;
import model.Zom;
import hyskidotmateuszatgmail.owner.adapter.KlasaStatyczna;
import interfejsy.IWsp;
import interfejsy.logika.Operacje;
import android.app.FragmentTransaction;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;

public class TopRatedFragment extends Fragment {
        
        View rootView;
          ListView list;  
          LazyAdapter adapter;
          private String[] amStrings={"a","b"};
          
        @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup container,
                        Bundle savedInstanceState) {
                KlasaStatyczna.setFra(this);
                KlasaStatyczna.setContext(getActivity().getApplicationContext());
                rootView = inflater.inflate(R.layout.fragment_top_rated, container, false);
                list = (ListView) rootView.findViewById( R.id.listView1);
                //filldata();
            list.setOnItemClickListener(new OnItemClickListener() {
              public void onItemClick(AdapterView<?> parent, View view,
                 int position, long id) {
               int itemPosition     = position;
               Object s=list.getAdapter().getItem(position);
                Toast.makeText(KlasaStatyczna.getContext(),
                  "Position :"+s.toString(), Toast.LENGTH_LONG)
                  .show();
              }
         }); 
                return rootView;
        }
}*/
